package com.dev.op.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dev.op.VO.ProblemPostVO;
import com.dev.op.VO.ResultVO;
import com.dev.op.entity.Problem;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
* @author Administrator
* @description 针对表【problem】的数据库操作Service
* @createDate 2025-03-23 11:54:58
*/
public interface ProblemService extends IService<Problem> {
    void saveWithTestCases(ProblemPostVO problemPostVO);
    Page<Problem> listProblems(int page,int size);
    ResultVO<Problem> getProblemById(int id);
}
